package com.ruoyi.system.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.domain.InvInventoryCheck;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@ApiModel("修改盘点工单")
@Data
public class ExecuteOrUpdateDTO {

    @ApiModelProperty(value = "操作类型 1-修改 2-执行")
    private Integer type;

    @ApiModelProperty(value = "盘点工单id")
    private Long id;

    @ApiModelProperty("盘点时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date stocktakingTime;

    @ApiModelProperty("盘点员工")
    private String stocktakingName;

    @ApiModelProperty("盘点单号")
    private String inventoryNumber;

    @ApiModelProperty("状态（1-未盘点 2-已盘点）")
    private Integer isStatus;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("盘点明细")
    List<InvInventoryCheck> checkList;

}
